package com.cskaoyan.bo;

import com.cskaoyan.bean.Goods;
import com.cskaoyan.bean.GoodsAttribute;
import com.cskaoyan.bean.GoodsProduct;
import com.cskaoyan.bean.GoodsSpecification;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import java.util.List;

/**
 * @author LiaoLong
 * @date 2021-05-09 20:47
 */
@NoArgsConstructor
@Data
public class CreateGoodsBO {

    @Valid
    private Goods goods;
    @Valid
    private List<GoodsSpecification> specifications;
    @Valid
    private List<GoodsProduct> products;
    @Valid
    private List<GoodsAttribute> attributes;

}
